﻿    <md-autocomplete
        md-no-cache
        md-selected-item-change="list.goto('visit', 'value')"
        md-selected-item="list.value"
        md-search-text="searchText"
        md-items="item in list.research(searchText)"
        md-item-text="item.value"
        placeholder="Recherchez">
        <div layout layout-align="start" layout-fill>
            <div md-highlight-text="searchText">{{item.value}}</div>
            <div flex></div>
            <div ng-if="item.reporting.call > 0">{{item.reporting.call}} requêtes</div>
            <div ng-if="!item.reporting.call"></div>
        </div>
    </md-autocomplete>

<div ng-include="'/app/partials/app/items.html'"></div>
